package com.zzuli.dcxt.service.impl;

import com.zzuli.dcxt.dao.RegistMapper;
import com.zzuli.dcxt.entiy.Customer;
import com.zzuli.dcxt.service.RegistService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RegistServiceImpl implements RegistService {
    @Autowired
    private RegistMapper registMapper;
    @Override
    public void insertCoustomer(Customer customer) {
        registMapper.insertCoustomer(customer);
    }

    @Override
    public String checkName(String name) {
        return  registMapper.checkName(name);
    }
}
